#pragma once
#include "en.hpp"

void physics(float);

struct particle
{
    float x=0, y=0;
    float vx=0, vy=0;
    float fx=0, fy=0;
};

void add_phys(int i, int j, int num);

static constexpr int map_x = 350, map_y = 200;
static constexpr int c_map_x = map_x + 2;
static constexpr int c_map_y = map_y + 2;


extern std::vector<particle> particle_list;

extern float** wind_map;

extern float* dens_prev;

extern float* u_prev, *v_prev;
